package com.aaa.mrcai.query;

import lombok.Data;

import java.io.Serializable;

/**
 * TODO
 *
 * @author 惠普
 * @date 2021/12/3  16:33
 */
@Data
public class BaseQuery implements Serializable {
    private  Integer pageNo = 1;
    private Integer pageCount = 10;
    private Integer getIndex(){
        return (pageNo -1)*pageCount;
    }
}
